package com.example.studentmanagement.db;

public class Product {
	
	//private variables
	String _code;
	String _name;	
	String _price;
	String _from;
	
	// Empty constructor
	public Product(){
		
	}
	// constructor
	public Product(String id, String name, String price, String from){
		this._code = id;
		this._name = name;
		this._price = price;
		this._from = from;
	}
	
	// getting ID
	public String getID(){
		return this._code;
	}
	
	// setting id
	public void setID(String id){
		this._code = id;
	}
	
	// getting name
	public String getName(){
		return this._name;
	}
	
	// setting name
	public void setName(String name){
		this._name = name;
	}
	
	// getting phone number
	public String getPrice(){
		return this._price;
	}
	
	public void setPrice(String price){
		this._price = price;
	}
	
	public String get_from() {
		return _from;
	}
	
	public void set_from(String _from) {
		this._from = _from;
	}
}
